/**
 * web2010_admin
 * cn.aresoft.logic.service.implement.system.module ModuleServiceImpl.java
 */
package com.xsoft.logic.service.implement.sys.module;

import java.util.List;

import com.xsoft.framework.service.BaseService;
import com.xsoft.logic.model.sys.Module;
import com.xsoft.logic.service.interfaces.sys.module.ModuleService;


/**
 * @author 潘冬
 * 2010-8-24 下午03:35:32
 */
public class ModuleServiceImpl extends BaseService implements ModuleService {
	
	private String selectAllModule;

	/* (non-Javadoc)
	 * @see cn.aresoft.framework.service.BaseService#getTableName()
	 */
	@Override
	public String getTableName() {
		// TODO Auto-generated method stub
		return "Module";
	}

	/* (non-Javadoc)
	 * @see cn.aresoft.logic.service.interfaces.system.module.ModuleService#getAllModule()
	 */
	public List<Module> getAllModule() {
		// TODO Auto-generated method stub
		return dao.findForList(selectAllModule, null);
	}

	public String getSelectAllModule() {
		return selectAllModule;
	}

	public void setSelectAllModule(String selectAllModule) {
		this.selectAllModule = selectAllModule;
	}

}
